const express = require('express')
const app = express()
app.get('/user',(req,res)=>{
    console.log(req.query);
    const {
        userID,
        cb
    } =req.query

    if(userID ==='001'){
      const data={
        name:'尹伟',
        age:18,
        sex:'男'
      }

      res.send(`${cb}(${JSON.stringify(data)})`)
    }
})
app.listen(8060,()=>{
    console.log('打印:http://127.0.0.1:8060');
})
